home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sun4c / archive / tcltk.z / tcltk / man / catn / lbSingSel.n < prev    next >
Text File  |  1994-09-20  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4. tk_listboxSingleSelect(n)  Tk Commands
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NAME
  11.      tk_listboxSingleSelect - Allow only one selected element  in
  12.      listbox(es)
  13.  
  14. SYNOPSIS
  15.      tk_listboxSingleSelect _a_r_g ?_a_r_g _a_r_g ...?
  16. _________________________________________________________________
  17.  
  18.  
  19. DESCRIPTION
  20.      This command is a Tcl procedure provided as part of  the  Tk
  21.      script library.  It takes as arguments the path names of one
  22.      or more listbox widgets, or the  value  Listbox.   For  each
  23.      named  widget,  tk_listboxSingleSelect modifies the bindings
  24.      of the widget so that only a single element may be  selected
  25.      at a time (the normal configuration allows multiple elements
  26.      to be selected).  If the keyword Listbox is among the _w_i_n_d_o_w
  27.      arguments, then the class bindings for listboxes are changed
  28.      so  that  all  listboxes  have  the  one-selection-at-a-time
  29.      behavior.
  30.  
  31.  
  32. KEYWORDS
  33.      listbox, selection
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Tk                                                              1
  64.  
  65.  
  66.  
  67.